<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script>
    var obj = new Object();
    obj.uname = '鸣人';
    obj.sex = '男';
    obj.age = 19;
    obj.skill = function () {
      console.log('影分身术');
    }
    console.log('姓名：' + obj.uname);
    console.log('性别：' + obj.sex);
    console.log('年龄：' + obj.age);
    console.log('技能：');
    obj.skill();
  </script>
</head>

<body>

</body>

</html>